package com.multi.thread.chapter02.demo04;

public class Services {
	
	synchronized public void services1() {
		System.out.println("services1");
		services3();
	}
	
	synchronized public void services2() {
		System.out.println("services2");
	}
	
	synchronized public void services3() {
		System.out.println("services3");
		services2();
	}

}
